//
//  WONoteView.h
//  WOPrototype
//
//  Created by Olof Millberg on 2010-04-16.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WorkOrder.h"

@protocol WONoteViewDelegate;

@interface WONewNoteViewController : UIViewController <UITextViewDelegate>
{
	UITextView *textView;
	UIButton *backgroundField;
	id<WONoteViewDelegate> delegate;
	NSString *text;
}
@property (nonatomic, retain) IBOutlet UITextView *textView;
@property (nonatomic, retain) IBOutlet UIButton *backgroundField;
@property (nonatomic, assign) id<WONoteViewDelegate> delegate;
@property (nonatomic, assign) NSString *text;

@end

@protocol WONoteViewDelegate

- (BOOL) noteView:(WONewNoteViewController*)aNoteView shouldReturnWithText:(NSString *)text;

@end